package master.system.organization;


import master.support.DomainObject;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 */
@Table(name="sys_department")
public class Department extends DomainObject{
    @Column(name="NAME")
    private String name;

    @Column(name="PARENT_ID")
    private long parentId;

    @Column(name="MANAGER")
    private String manager;

    @Column(name="DESCRIPTION")
    private String description;

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
